package xin.marcher.module.lifecycle.domain.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QueryPeriodListRequest implements Serializable {

    /**
     * itemId集合
     */
    @NotNull(message = "查询的itemIdList不能为空")
    @Size(min = 1, max = 200, message = "批量查询的itemId不能为空，且最多同时查询200个")
    private List<String> itemIdList;
}
